<script setup lang='ts'>
import instance from '../../utils/axios_config'
const getuser = async () => {
    console.log('ok')
    const user = await instance.get('/per-manage/users/')
    console.log(user)
}

</script>
<template>
    <div class="login-body">

        <form class="login-form">
            <h2 class="login-title">学校管理系统</h2>
            <div class="login-box">
                <span class="iconfont icon-user login-icon"></span>
                <input type="text" placeholder="请输入用户名">
            </div>
            <div class="login-box">
                <span class="iconfont login-icon">&#xe62d;</span>
                <input type="password" placeholder="请输入密码">
            </div>
            <button class="login-btn" @click="getuser">登录</button>
        </form>
    </div>
</template>

<style scoped>
@import url('../../assets/login/login.css');
</style>